package com.shop.shoporder.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.sql.Timestamp;

public class GroupbuyGoodInfo implements Serializable {

    private int groupbuygoodId;

    private int goodsId;

    private int specId;

    private Double groupbyPrice;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp startTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp endTime;

    private int goodsCount;

    private String groupbuyStatu;

    private Double buyonePrice;

    //商品

    private String title;

    private String name;

    private String nameDesc;

    private String pic;



    //规格

    private String specName;

    private Double share;

    private Double price;

    private Double vouchers;


    public int getGroupbuygoodId() {
        return groupbuygoodId;
    }

    public void setGroupbuygoodId(int groupbuygoodId) {
        this.groupbuygoodId = groupbuygoodId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getSpecId() {
        return specId;
    }

    public void setSpecId(int specId) {
        this.specId = specId;
    }

    public Double getGroupbyPrice() {
        return groupbyPrice;
    }

    public void setGroupbyPrice(Double groupbyPrice) {
        this.groupbyPrice = groupbyPrice;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public int getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(int goodsCount) {
        this.goodsCount = goodsCount;
    }

    public String getGroupbuyStatu() {
        return groupbuyStatu;
    }

    public void setGroupbuyStatu(String groupbuyStatu) {
        this.groupbuyStatu = groupbuyStatu;
    }

    public Double getBuyonePrice() {
        return buyonePrice;
    }

    public void setBuyonePrice(Double buyonePrice) {
        this.buyonePrice = buyonePrice;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNameDesc() {
        return nameDesc;
    }

    public void setNameDesc(String nameDesc) {
        this.nameDesc = nameDesc;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Double getShare() {
        return share;
    }

    public void setShare(Double share) {
        this.share = share;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getVouchers() {
        return vouchers;
    }

    public void setVouchers(Double vouchers) {
        this.vouchers = vouchers;
    }
}
